runtime.timer.blocked (field)
7 uses
runtime (current package)
time.go#L64: blocked uint32 // number of goroutines blocked on timer's channel
time.go#L244: print("T ", t, " ", bits[0], bits[1], bits[2], bits[3], " b=", t.blocked, " ", op, "\n")
time.go#L684: need := t.state&timerHeaped == 0 && t.when > 0 && (!t.isChan || t.blocked > 0)
time.go#L1487: t.blocked++
time.go#L1520: if !t.isChan || t.blocked == 0 {
time.go#L1523: t.blocked--
time.go#L1524: if t.blocked == 0 && t.state&timerHeaped != 0 && t.state&timerZombie == 0 {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |